package com.ym.b2b.provider.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.provider.sqlbean.EmCProviderBelongBuyer;
import com.zc.commons.base.Page;

public interface EmCProviderBelongBuyerDAO {

    Long searchPageEmCProviderBelongBuyerNum(EmCProviderBelongBuyer emcproviderbelongbuyer) throws DataAccessException;

    public Page searchPageEmCProviderBelongBuyer(EmCProviderBelongBuyer emcproviderbelongbuyer,
                                                 Page<EmCProviderBelongBuyer> page) throws DataAccessException;

    void insertEmCProviderBelongBuyer(EmCProviderBelongBuyer record) throws DataAccessException;

    int updateEmCProviderBelongBuyer(EmCProviderBelongBuyer record) throws DataAccessException;

    EmCProviderBelongBuyer searchEmCProviderBelongBuyer(Long belongId) throws DataAccessException;

    void deleteEmCProviderBelongBuyer(EmCProviderBelongBuyer emCProviderBelongBuyer) throws DataAccessException;

    void deleteMultipleEmCProviderBelongBuyers(String belongIdList);
}
